package tests;

import static org.junit.Assert.*;
import hexgame.HexMove;

import network.HexNetwork;

import org.junit.Test;

public class HexParseMoveTests {

	@Test
	public void test() {
		// test the the position is parsed correctly, and is flipped.
		HexMove move = HexNetwork.parseMove("(5, 4)");
		
		assertEquals(4, move.getX());
		assertEquals(5, move.getY());
	}

}
